<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>v_voip_fec_tx: xvoipfec_tx.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.gif"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">v_voip_fec_tx
   </div>
   <div id="projectbrief">Xilinx SDK Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xvoipfec__tx_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">xvoipfec_tx.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Overview</h2>
<div class="textblock"><p>This is the main file for Xilinx VoIP FEC Transmitter core. </p>
<p>Please see <a class="el" href="xvoipfec__tx_8h.html" title="This is the main header file for VoIP FEC Transmitter core. ">xvoipfec_tx.h</a> for more details of the driver.</p>
<pre>
MODIFICATION HISTORY:</pre><pre>Ver   Who    Date     Changes
<hr/>

1.00   mmo   02/12/16 Initial release.</pre><pre></pre> </div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:accaa9afeb5b738bb38ab0d7bead631c6"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvoipfec__tx_8c.html#accaa9afeb5b738bb38ab0d7bead631c6">XVoipFEC_TX_CfgInitialize</a> (<a class="el" href="struct_x_voip_f_e_c___t_x.html">XVoipFEC_TX</a> *InstancePtr, <a class="el" href="struct_x_voip_f_e_c___t_x___config.html">XVoipFEC_TX_Config</a> *CfgPtr, UINTPTR EffectiveAddr)</td></tr>
<tr class="memdesc:accaa9afeb5b738bb38ab0d7bead631c6"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function initializes the VoIP FEC Transmitter core.  <a href="#accaa9afeb5b738bb38ab0d7bead631c6">More...</a><br /></td></tr>
<tr class="separator:accaa9afeb5b738bb38ab0d7bead631c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6ccdcab3de0dd98fa27b38ec6056198"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_voip_f_e_c___t_x___config.html">XVoipFEC_TX_Config</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvoipfec__tx_8c.html#ac6ccdcab3de0dd98fa27b38ec6056198">XVoipFEC_TX_CoreStatusRegValue</a> (<a class="el" href="struct_x_voip_f_e_c___t_x.html">XVoipFEC_TX</a> *InstancePtr)</td></tr>
<tr class="memdesc:ac6ccdcab3de0dd98fa27b38ec6056198"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function reads the Core Information (Configured by user through GUI), in the VoIP FEC Transmitter Register.  <a href="#ac6ccdcab3de0dd98fa27b38ec6056198">More...</a><br /></td></tr>
<tr class="separator:ac6ccdcab3de0dd98fa27b38ec6056198"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c7e5565edd417819b9b882667cd4e31"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_voip_f_e_c___t_x___pkt_cnt.html">XVoipFEC_TX_PktCnt</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvoipfec__tx_8c.html#a2c7e5565edd417819b9b882667cd4e31">XVoipFEC_TX_CoreStatisics</a> (<a class="el" href="struct_x_voip_f_e_c___t_x.html">XVoipFEC_TX</a> *InstancePtr)</td></tr>
<tr class="memdesc:a2c7e5565edd417819b9b882667cd4e31"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function perform Statistic Resets on VoIP FEC Transmitter (General Space)  <a href="#a2c7e5565edd417819b9b882667cd4e31">More...</a><br /></td></tr>
<tr class="separator:a2c7e5565edd417819b9b882667cd4e31"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47e79a5cffb9655bdae73a1ec67c7a62"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_voip_f_e_c___t_x___f_e_c_params.html">XVoipFEC_TX_FECParams</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvoipfec__tx_8c.html#a47e79a5cffb9655bdae73a1ec67c7a62">XVoipFEC_TX_FECParamsRegValue</a> (<a class="el" href="struct_x_voip_f_e_c___t_x.html">XVoipFEC_TX</a> *InstancePtr, u16 Channels)</td></tr>
<tr class="memdesc:a47e79a5cffb9655bdae73a1ec67c7a62"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function perform Reads Configured FEC Parameters.  <a href="#a47e79a5cffb9655bdae73a1ec67c7a62">More...</a><br /></td></tr>
<tr class="separator:a47e79a5cffb9655bdae73a1ec67c7a62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99dc5959ddf4a6d252ec72d448926659"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvoipfec__tx_8c.html#a99dc5959ddf4a6d252ec72d448926659">XVoipFEC_TX_CoreChannelConfig</a> (<a class="el" href="struct_x_voip_f_e_c___t_x.html">XVoipFEC_TX</a> *InstancePtr)</td></tr>
<tr class="memdesc:a99dc5959ddf4a6d252ec72d448926659"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function Configure all the VoIP FEC Transmitter Channel Space based on user configured value.  <a href="#a99dc5959ddf4a6d252ec72d448926659">More...</a><br /></td></tr>
<tr class="separator:a99dc5959ddf4a6d252ec72d448926659"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac31173b0068c17e79351de1c423796ab"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvoipfec__tx_8c.html#ac31173b0068c17e79351de1c423796ab">XVoipFEC_TX_SetFECParams</a> (<a class="el" href="struct_x_voip_f_e_c___t_x.html">XVoipFEC_TX</a> *InstancePtr, u16 Channels)</td></tr>
<tr class="memdesc:ac31173b0068c17e79351de1c423796ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function Configures the FEC Parameters.  <a href="#ac31173b0068c17e79351de1c423796ab">More...</a><br /></td></tr>
<tr class="separator:ac31173b0068c17e79351de1c423796ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a257faccae73328ce6258bbd9bb1c98e4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvoipfec__tx_8c.html#a257faccae73328ce6258bbd9bb1c98e4">XVoipFEC_TX_SoftReset</a> (<a class="el" href="struct_x_voip_f_e_c___t_x.html">XVoipFEC_TX</a> *InstancePtr)</td></tr>
<tr class="memdesc:a257faccae73328ce6258bbd9bb1c98e4"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function perform software resets on VoIP FEC Transmitter, which clears all the registers.  <a href="#a257faccae73328ce6258bbd9bb1c98e4">More...</a><br /></td></tr>
<tr class="separator:a257faccae73328ce6258bbd9bb1c98e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee86488c11ff9cf53549b2332119c282"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvoipfec__tx_8c.html#aee86488c11ff9cf53549b2332119c282">XVoipFEC_TX_ChannelUpdate</a> (<a class="el" href="struct_x_voip_f_e_c___t_x.html">XVoipFEC_TX</a> *InstancePtr)</td></tr>
<tr class="memdesc:aee86488c11ff9cf53549b2332119c282"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function perform Channel on VoIP FEC Transmitter, which updates the configured channel space register.  <a href="#aee86488c11ff9cf53549b2332119c282">More...</a><br /></td></tr>
<tr class="separator:aee86488c11ff9cf53549b2332119c282"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af08cdc845ae3021bcfba68fd2d3873b0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvoipfec__tx_8c.html#af08cdc845ae3021bcfba68fd2d3873b0">XVoipFEC_ChannelAccess</a> (<a class="el" href="struct_x_voip_f_e_c___t_x.html">XVoipFEC_TX</a> *InstancePtr, u16 Channels)</td></tr>
<tr class="memdesc:af08cdc845ae3021bcfba68fd2d3873b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function accesses the Channel, need to be called before performing channel space register configuration.  <a href="#af08cdc845ae3021bcfba68fd2d3873b0">More...</a><br /></td></tr>
<tr class="separator:af08cdc845ae3021bcfba68fd2d3873b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0466a9c6025586fc45847f0f7ffe573"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvoipfec__tx_8c.html#ac0466a9c6025586fc45847f0f7ffe573">XVoipFEC_TX_SetFEC_D</a> (<a class="el" href="struct_x_voip_f_e_c___t_x.html">XVoipFEC_TX</a> *InstancePtr, u16 Channels)</td></tr>
<tr class="memdesc:ac0466a9c6025586fc45847f0f7ffe573"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets FEC D Value.  <a href="#ac0466a9c6025586fc45847f0f7ffe573">More...</a><br /></td></tr>
<tr class="separator:ac0466a9c6025586fc45847f0f7ffe573"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa471d8cbbc8f8f0644796bd90b5ce1f1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvoipfec__tx_8c.html#aa471d8cbbc8f8f0644796bd90b5ce1f1">XVoipFEC_TX_SetFEC_L</a> (<a class="el" href="struct_x_voip_f_e_c___t_x.html">XVoipFEC_TX</a> *InstancePtr, u16 Channels)</td></tr>
<tr class="memdesc:aa471d8cbbc8f8f0644796bd90b5ce1f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets FEC L Value.  <a href="#aa471d8cbbc8f8f0644796bd90b5ce1f1">More...</a><br /></td></tr>
<tr class="separator:aa471d8cbbc8f8f0644796bd90b5ce1f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef39569b5def521ba026c358b7b4dfa9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvoipfec__tx_8c.html#aef39569b5def521ba026c358b7b4dfa9">XVoipFEC_TX_SetFECMode</a> (<a class="el" href="struct_x_voip_f_e_c___t_x.html">XVoipFEC_TX</a> *InstancePtr, u16 Channels)</td></tr>
<tr class="memdesc:aef39569b5def521ba026c358b7b4dfa9"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets FEC Mode Value.  <a href="#aef39569b5def521ba026c358b7b4dfa9">More...</a><br /></td></tr>
<tr class="separator:aef39569b5def521ba026c358b7b4dfa9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a168ca60724a76b1f621e2c823675bf10"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvoipfec__tx_8c.html#a168ca60724a76b1f621e2c823675bf10">XVoipFEC_TX_SetFECNonBlockAllign</a> (<a class="el" href="struct_x_voip_f_e_c___t_x.html">XVoipFEC_TX</a> *InstancePtr, u16 Channels)</td></tr>
<tr class="memdesc:a168ca60724a76b1f621e2c823675bf10"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets FEC Block Alignment Mode.  <a href="#a168ca60724a76b1f621e2c823675bf10">More...</a><br /></td></tr>
<tr class="separator:a168ca60724a76b1f621e2c823675bf10"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="af08cdc845ae3021bcfba68fd2d3873b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af08cdc845ae3021bcfba68fd2d3873b0">&#9670;&nbsp;</a></span>XVoipFEC_ChannelAccess()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVoipFEC_ChannelAccess </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_voip_f_e_c___t_x.html">XVoipFEC_TX</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Channels</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function accesses the Channel, need to be called before performing channel space register configuration. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_voip_f_e_c___t_x.html" title="The XVoipFEC_TX driver instance data. ">XVoipFEC_TX</a> core instance.</td></tr>
    <tr><td class="paramname">Channels</td><td>is current configured channel</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="xvoipfec__tx__hw_8h.html#af1b69f3c123878d990801700053378f0">XVoipFEC_TX_WriteReg</a>.</p>

<p class="reference">Referenced by <a class="el" href="xvoipfec__tx_8h.html#a47e79a5cffb9655bdae73a1ec67c7a62">XVoipFEC_TX_FECParamsRegValue()</a>, <a class="el" href="xvoipfec__tx_8h.html#ac0466a9c6025586fc45847f0f7ffe573">XVoipFEC_TX_SetFEC_D()</a>, <a class="el" href="xvoipfec__tx_8h.html#aa471d8cbbc8f8f0644796bd90b5ce1f1">XVoipFEC_TX_SetFEC_L()</a>, <a class="el" href="xvoipfec__tx_8h.html#aef39569b5def521ba026c358b7b4dfa9">XVoipFEC_TX_SetFECMode()</a>, <a class="el" href="xvoipfec__tx_8h.html#a168ca60724a76b1f621e2c823675bf10">XVoipFEC_TX_SetFECNonBlockAllign()</a>, and <a class="el" href="xvoipfec__tx_8h.html#ac31173b0068c17e79351de1c423796ab">XVoipFEC_TX_SetFECParams()</a>.</p>

</div>
</div>
<a id="accaa9afeb5b738bb38ab0d7bead631c6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#accaa9afeb5b738bb38ab0d7bead631c6">&#9670;&nbsp;</a></span>XVoipFEC_TX_CfgInitialize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XVoipFEC_TX_CfgInitialize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_voip_f_e_c___t_x.html">XVoipFEC_TX</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_x_voip_f_e_c___t_x___config.html">XVoipFEC_TX_Config</a> *&#160;</td>
          <td class="paramname"><em>CfgPtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UINTPTR&#160;</td>
          <td class="paramname"><em>EffectiveAddr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function initializes the VoIP FEC Transmitter core. </p>
<p>This function must be called prior to using the VoIP FEC Transmitter core. Initialization of the VoIP FEC Transmitter includes setting up the instance data and ensuring the hardware is in a quiescent state.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_voip_f_e_c___t_x.html" title="The XVoipFEC_TX driver instance data. ">XVoipFEC_TX</a> core instance. </td></tr>
    <tr><td class="paramname">CfgPtr</td><td>points to the configuration structure associated with the VoIP FEC Transmitter core. </td></tr>
    <tr><td class="paramname">EffectiveAddr</td><td>is the base address of the device. If address translation is being used, then this parameter must reflect the virtual base address. Otherwise, the physical address should be used.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if XVoipFEC_TX_CfgInitialize was successful.</li>
<li>XST_FAILURE</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_voip_f_e_c___t_x___config.html#ae4b388b1a019413225bc3314bfad616e">XVoipFEC_TX_Config::BaseAddress</a>, <a class="el" href="xvoipfec__tx_8h.html#aa177f7f0bb5b87be0705ca992b75536c">XVoipFEC_TX_BusyBit</a>, and <a class="el" href="xvoipfec__tx_8c.html#a257faccae73328ce6258bbd9bb1c98e4">XVoipFEC_TX_SoftReset()</a>.</p>

</div>
</div>
<a id="aee86488c11ff9cf53549b2332119c282"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aee86488c11ff9cf53549b2332119c282">&#9670;&nbsp;</a></span>XVoipFEC_TX_ChannelUpdate()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVoipFEC_TX_ChannelUpdate </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_voip_f_e_c___t_x.html">XVoipFEC_TX</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function perform Channel on VoIP FEC Transmitter, which updates the configured channel space register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_voip_f_e_c___t_x.html" title="The XVoipFEC_TX driver instance data. ">XVoipFEC_TX</a> core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="xvoipfec__tx__hw_8h.html#a829d0e6ea1efad9aa1954ad2b0a0c90f">XVoipFEC_TX_ReadReg</a>.</p>

<p class="reference">Referenced by <a class="el" href="xvoipfec__tx_8h.html#ac31173b0068c17e79351de1c423796ab">XVoipFEC_TX_SetFECParams()</a>.</p>

</div>
</div>
<a id="a99dc5959ddf4a6d252ec72d448926659"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a99dc5959ddf4a6d252ec72d448926659">&#9670;&nbsp;</a></span>XVoipFEC_TX_CoreChannelConfig()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVoipFEC_TX_CoreChannelConfig </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_voip_f_e_c___t_x.html">XVoipFEC_TX</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function Configure all the VoIP FEC Transmitter Channel Space based on user configured value. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_voip_f_e_c___t_x.html" title="The XVoipFEC_TX driver instance data. ">XVoipFEC_TX</a> core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a id="a2c7e5565edd417819b9b882667cd4e31"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2c7e5565edd417819b9b882667cd4e31">&#9670;&nbsp;</a></span>XVoipFEC_TX_CoreStatisics()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_x_voip_f_e_c___t_x___pkt_cnt.html">XVoipFEC_TX_PktCnt</a> XVoipFEC_TX_CoreStatisics </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_voip_f_e_c___t_x.html">XVoipFEC_TX</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function perform Statistic Resets on VoIP FEC Transmitter (General Space) </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_voip_f_e_c___t_x.html" title="The XVoipFEC_TX driver instance data. ">XVoipFEC_TX</a> core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>XVoipFEC_TX_PktCntRegValue is Return Register Value of General Statistic VoIP FEC Transmitter.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_voip_f_e_c___t_x___config.html#ae4b388b1a019413225bc3314bfad616e">XVoipFEC_TX_Config::BaseAddress</a>, and <a class="el" href="xvoipfec__tx__hw_8h.html#a829d0e6ea1efad9aa1954ad2b0a0c90f">XVoipFEC_TX_ReadReg</a>.</p>

</div>
</div>
<a id="ac6ccdcab3de0dd98fa27b38ec6056198"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac6ccdcab3de0dd98fa27b38ec6056198">&#9670;&nbsp;</a></span>XVoipFEC_TX_CoreStatusRegValue()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_x_voip_f_e_c___t_x___config.html">XVoipFEC_TX_Config</a> XVoipFEC_TX_CoreStatusRegValue </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_voip_f_e_c___t_x.html">XVoipFEC_TX</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function reads the Core Information (Configured by user through GUI), in the VoIP FEC Transmitter Register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_voip_f_e_c___t_x.html" title="The XVoipFEC_TX driver instance data. ">XVoipFEC_TX</a> core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>XVoipFEC_TX_ConfigRegValue is Core Status Register Value.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_voip_f_e_c___t_x___config.html#ae4b388b1a019413225bc3314bfad616e">XVoipFEC_TX_Config::BaseAddress</a>, <a class="el" href="struct_x_voip_f_e_c___t_x___config.html#aa0e82acb9a1e234a3a6850ebc3acc330">XVoipFEC_TX_Config::HWChannelNumber</a>, and <a class="el" href="xvoipfec__tx__hw_8h.html#a829d0e6ea1efad9aa1954ad2b0a0c90f">XVoipFEC_TX_ReadReg</a>.</p>

</div>
</div>
<a id="a47e79a5cffb9655bdae73a1ec67c7a62"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a47e79a5cffb9655bdae73a1ec67c7a62">&#9670;&nbsp;</a></span>XVoipFEC_TX_FECParamsRegValue()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_x_voip_f_e_c___t_x___f_e_c_params.html">XVoipFEC_TX_FECParams</a> XVoipFEC_TX_FECParamsRegValue </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_voip_f_e_c___t_x.html">XVoipFEC_TX</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Channels</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function perform Reads Configured FEC Parameters. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_voip_f_e_c___t_x.html" title="The XVoipFEC_TX driver instance data. ">XVoipFEC_TX</a> core instance.</td></tr>
    <tr><td class="paramname">Channels</td><td>is current configured channel</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>XVoipFEC_TX_FECParams_RegValue is configured FEC Parameters.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_voip_f_e_c___t_x___config.html#ae4b388b1a019413225bc3314bfad616e">XVoipFEC_TX_Config::BaseAddress</a>, <a class="el" href="xvoipfec__tx_8c.html#af08cdc845ae3021bcfba68fd2d3873b0">XVoipFEC_ChannelAccess()</a>, and <a class="el" href="xvoipfec__tx__hw_8h.html#a829d0e6ea1efad9aa1954ad2b0a0c90f">XVoipFEC_TX_ReadReg</a>.</p>

</div>
</div>
<a id="ac0466a9c6025586fc45847f0f7ffe573"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac0466a9c6025586fc45847f0f7ffe573">&#9670;&nbsp;</a></span>XVoipFEC_TX_SetFEC_D()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVoipFEC_TX_SetFEC_D </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_voip_f_e_c___t_x.html">XVoipFEC_TX</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Channels</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function sets FEC D Value. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_voip_f_e_c___t_x.html" title="The XVoipFEC_TX driver instance data. ">XVoipFEC_TX</a> core instance.</td></tr>
    <tr><td class="paramname">Channels</td><td>is current configured channel</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_voip_f_e_c___t_x___config.html#ae4b388b1a019413225bc3314bfad616e">XVoipFEC_TX_Config::BaseAddress</a>, <a class="el" href="xvoipfec__tx_8c.html#af08cdc845ae3021bcfba68fd2d3873b0">XVoipFEC_ChannelAccess()</a>, and <a class="el" href="xvoipfec__tx__hw_8h.html#a829d0e6ea1efad9aa1954ad2b0a0c90f">XVoipFEC_TX_ReadReg</a>.</p>

<p class="reference">Referenced by <a class="el" href="xvoipfec__tx_8h.html#ac31173b0068c17e79351de1c423796ab">XVoipFEC_TX_SetFECParams()</a>.</p>

</div>
</div>
<a id="aa471d8cbbc8f8f0644796bd90b5ce1f1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa471d8cbbc8f8f0644796bd90b5ce1f1">&#9670;&nbsp;</a></span>XVoipFEC_TX_SetFEC_L()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVoipFEC_TX_SetFEC_L </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_voip_f_e_c___t_x.html">XVoipFEC_TX</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Channels</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function sets FEC L Value. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_voip_f_e_c___t_x.html" title="The XVoipFEC_TX driver instance data. ">XVoipFEC_TX</a> core instance.</td></tr>
    <tr><td class="paramname">Channels</td><td>is current configured channel</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_voip_f_e_c___t_x___config.html#ae4b388b1a019413225bc3314bfad616e">XVoipFEC_TX_Config::BaseAddress</a>, <a class="el" href="xvoipfec__tx_8c.html#af08cdc845ae3021bcfba68fd2d3873b0">XVoipFEC_ChannelAccess()</a>, and <a class="el" href="xvoipfec__tx__hw_8h.html#a829d0e6ea1efad9aa1954ad2b0a0c90f">XVoipFEC_TX_ReadReg</a>.</p>

<p class="reference">Referenced by <a class="el" href="xvoipfec__tx_8h.html#ac31173b0068c17e79351de1c423796ab">XVoipFEC_TX_SetFECParams()</a>.</p>

</div>
</div>
<a id="aef39569b5def521ba026c358b7b4dfa9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aef39569b5def521ba026c358b7b4dfa9">&#9670;&nbsp;</a></span>XVoipFEC_TX_SetFECMode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVoipFEC_TX_SetFECMode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_voip_f_e_c___t_x.html">XVoipFEC_TX</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Channels</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function sets FEC Mode Value. </p>
<p>FEC Bypass, 1D or 2D Mode</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_voip_f_e_c___t_x.html" title="The XVoipFEC_TX driver instance data. ">XVoipFEC_TX</a> core instance.</td></tr>
    <tr><td class="paramname">Channels</td><td>is current configured channel</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_voip_f_e_c___t_x___config.html#ae4b388b1a019413225bc3314bfad616e">XVoipFEC_TX_Config::BaseAddress</a>, <a class="el" href="xvoipfec__tx_8c.html#af08cdc845ae3021bcfba68fd2d3873b0">XVoipFEC_ChannelAccess()</a>, and <a class="el" href="xvoipfec__tx__hw_8h.html#a829d0e6ea1efad9aa1954ad2b0a0c90f">XVoipFEC_TX_ReadReg</a>.</p>

<p class="reference">Referenced by <a class="el" href="xvoipfec__tx_8h.html#ac31173b0068c17e79351de1c423796ab">XVoipFEC_TX_SetFECParams()</a>.</p>

</div>
</div>
<a id="a168ca60724a76b1f621e2c823675bf10"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a168ca60724a76b1f621e2c823675bf10">&#9670;&nbsp;</a></span>XVoipFEC_TX_SetFECNonBlockAllign()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVoipFEC_TX_SetFECNonBlockAllign </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_voip_f_e_c___t_x.html">XVoipFEC_TX</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Channels</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function sets FEC Block Alignment Mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_voip_f_e_c___t_x.html" title="The XVoipFEC_TX driver instance data. ">XVoipFEC_TX</a> core instance.</td></tr>
    <tr><td class="paramname">Channels</td><td>is current configured channel</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_voip_f_e_c___t_x___config.html#ae4b388b1a019413225bc3314bfad616e">XVoipFEC_TX_Config::BaseAddress</a>, <a class="el" href="xvoipfec__tx_8c.html#af08cdc845ae3021bcfba68fd2d3873b0">XVoipFEC_ChannelAccess()</a>, and <a class="el" href="xvoipfec__tx__hw_8h.html#a829d0e6ea1efad9aa1954ad2b0a0c90f">XVoipFEC_TX_ReadReg</a>.</p>

<p class="reference">Referenced by <a class="el" href="xvoipfec__tx_8h.html#ac31173b0068c17e79351de1c423796ab">XVoipFEC_TX_SetFECParams()</a>.</p>

</div>
</div>
<a id="ac31173b0068c17e79351de1c423796ab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac31173b0068c17e79351de1c423796ab">&#9670;&nbsp;</a></span>XVoipFEC_TX_SetFECParams()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVoipFEC_TX_SetFECParams </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_voip_f_e_c___t_x.html">XVoipFEC_TX</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Channels</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function Configures the FEC Parameters. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_voip_f_e_c___t_x.html" title="The XVoipFEC_TX driver instance data. ">XVoipFEC_TX</a> core instance.</td></tr>
    <tr><td class="paramname">Channels</td><td>is current configured channel</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="xvoipfec__tx_8c.html#af08cdc845ae3021bcfba68fd2d3873b0">XVoipFEC_ChannelAccess()</a>, <a class="el" href="xvoipfec__tx_8c.html#aee86488c11ff9cf53549b2332119c282">XVoipFEC_TX_ChannelUpdate()</a>, <a class="el" href="xvoipfec__tx_8c.html#ac0466a9c6025586fc45847f0f7ffe573">XVoipFEC_TX_SetFEC_D()</a>, <a class="el" href="xvoipfec__tx_8c.html#aa471d8cbbc8f8f0644796bd90b5ce1f1">XVoipFEC_TX_SetFEC_L()</a>, <a class="el" href="xvoipfec__tx_8c.html#aef39569b5def521ba026c358b7b4dfa9">XVoipFEC_TX_SetFECMode()</a>, and <a class="el" href="xvoipfec__tx_8c.html#a168ca60724a76b1f621e2c823675bf10">XVoipFEC_TX_SetFECNonBlockAllign()</a>.</p>

</div>
</div>
<a id="a257faccae73328ce6258bbd9bb1c98e4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a257faccae73328ce6258bbd9bb1c98e4">&#9670;&nbsp;</a></span>XVoipFEC_TX_SoftReset()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVoipFEC_TX_SoftReset </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_voip_f_e_c___t_x.html">XVoipFEC_TX</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function perform software resets on VoIP FEC Transmitter, which clears all the registers. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_voip_f_e_c___t_x.html" title="The XVoipFEC_TX driver instance data. ">XVoipFEC_TX</a> core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="xvoipfec__tx__hw_8h.html#a829d0e6ea1efad9aa1954ad2b0a0c90f">XVoipFEC_TX_ReadReg</a>.</p>

<p class="reference">Referenced by <a class="el" href="xvoipfec__tx_8h.html#accaa9afeb5b738bb38ab0d7bead631c6">XVoipFEC_TX_CfgInitialize()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Copyright &copy; 2015 Xilinx Inc. All rights reserved.</li>
  </ul>
</div>
</body>
</html>
